<style>
.fui-cell-group .fui-cell .fui-input {
   background-color: #f2f2f2;
   height: auto;
   line-height: 1.6;
   padding:0.3rem 0.5rem;
   border-radius: 1rem;
}
button.weui_btn, input.weui_btn {border-radius: 1rem;margin: auto;margin-top:0.5rem;width:80%;}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content'>
			<div style="padding:0.5rem;">
			<div class="fui-cell-title bold" style="padding:0.5rem;padding-bottom:0">
					我的服务站
			</div>
			<div ng-if="pagedata.item.id" class="fui-cell-group radius">
			<div class="fui-cell">
				<div class="fui-cell-label" style="width:3.5rem">
					<img class="round" style="width:3rem;height:3rem;border-radius:3rem" ng-src="{{tomedia(pagedata.item.image) || '../addons/jy_ailiao/resource/images/nologo.png'}}">
				</div>
				<div class="fui-cell-text" style="margin-top:0.16rem">
					<div class="title" style="font-size:0.76rem">
						<span class="bold" style="font-size:0.8rem;width:auto;margin-right:0.2rem">{{pagedata.item.title}}</span>
					</div>
					<div class="subtitle" style="font-size:0.65rem">
						{{pagedata.item.pcd.city}} <span class="bold" style="color:#18bc9c">·</span> {{pagedata.item.address}}
						<i href="javascript:;" ng-click="pagedata.openLocation(pagedata.item);" class="icon icon-lvyoutehui" style="font-size:1rem"></i> 导航
					</div>
				</div>
				<div class="fui-cellone-remark noremark">
					<span href="javascript:;" href="tel:{{pagedata.item.mobile}}"class="jylabel jylabel-success" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">
						<i class="icon icon-phone"></i>
						打电话
					</span>
				</div>
			</div>
			<div class="fui-cell" style="padding-top:0;">
				<div class="content-block content-images">
					<p style="margin-bottom:0.3rem" ng-bind-html="trust(item.desc)"></p>
				</div>
			</div>
			</div>
			</div>
			<div ng-if="!pagedata.item.id" class='content-empty' style="margin-top:0">
					<i class='icon icon-wentifankui'></i>
					<div>暂时没有绑定服务站</div>
			</div>
</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.pagedata.openLocation=function(item){
	wx.openLocation({
	latitude: item.lat_lng.lat, // 纬度，浮点数，范围为90 ~ -90
	longitude: item.lat_lng.lng, // 经度，浮点数，范围为180 ~ -180。
		name: item.pcd.province+item.pcd.city+item.pcd.district, // 位置名
		address: item.address, // 地址详情说明
		scale: 20, // 地图缩放级别,整形值,范围从1~28。默认为最大
		infoUrl: '', // 在查看位置界面底部显示的超链接,可点击跳转
		success:function(){
			//alert(1111);
		}
	});
}
</script>